package com.ecoolex.chinadutyfree.retailer.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.chinadutyfree.retailer.core.mapper.DirectMailGoodsOrderMapper;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsOrder;
import com.ecoolex.chinadutyfree.retailer.pojo.QueryDirectMailGoodsOrderDTO;
import com.ecoolex.framework.common.pojo.Page;

public interface DirectMailGoodsOrderDAO extends DirectMailGoodsOrderMapper {
	
	long count(@Param("query") QueryDirectMailGoodsOrderDTO query);

    List<DirectMailGoodsOrder> query(@Param("query") QueryDirectMailGoodsOrderDTO query, @Param("sorts") String sorts, @Param("page")Page page);

    void refreshShippingStatus(@Param("orderId") Integer orderId);
}